package com.company.oa.meeting.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.company.oa.meeting.entity.MeetingAttachment;
import org.springframework.web.multipart.MultipartFile;

import java.util.List;

/**
 * 会议附件服务接口
 */
public interface MeetingAttachmentService extends IService<MeetingAttachment> {
    /**
     * 上传会议附件
     */
    Long uploadAttachment(MultipartFile file, Long meetingId, Long uploaderId, String uploaderName);
    
    /**
     * 获取会议附件列表
     */
    List<MeetingAttachment> getByMeetingId(Long meetingId);
    
    /**
     * 删除会议附件
     */
    boolean deleteAttachment(Long id);
} 